package com.dao.sys;

import com.model.pojo.sys.SysGenTable;

import java.util.List;

public interface SysGenTableMapper {
    int deleteByPrimaryKey(Long sysGenTableId);

    int insert(SysGenTable record);

    int insertSelective(SysGenTable record);

    SysGenTable selectByPrimaryKey(Long sysGenTableId);

    int updateByPrimaryKeySelective(SysGenTable record);

    int updateByPrimaryKey(SysGenTable record);

    /**
     * 查询当前数据库中未导入sys_gen_table的新表
     * from information_schema.tables
     * */
    List<SysGenTable> selectNotInsertDBList();

    /**
     * 查询当前数据库中的所有表
     * from information_schema.tables
     * */
    List<SysGenTable> selectDBList();

    List<SysGenTable> selectList();

    SysGenTable selectByTableName(String tableName);

    int updateByTableName(SysGenTable record);
}